package com.xszx.bean;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;

public class UserAttendance {

	private int id;
	private String userName;
	private String empNo;
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
	private Date time;
	private String type;
	private String status;
	private String yearAndMonth;
	
	
	
	public String getYearAndMonth() {
		return yearAndMonth;
	}
	public void setYearAndMonth(String yearAndMonth) {
		this.yearAndMonth = yearAndMonth;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getEmpNo() {
		return empNo;
	}
	public void setEmpNo(String empNo) {
		this.empNo = empNo;
	}
	public Date getTime() {
		return time;
	}
	public void setTime(Date time) {
		this.time = time;
	}
	
	
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	@Override
	public String toString() {
		return "UserAttendance [id=" + id + ", userName=" + userName + ", empNo=" + empNo + ", time=" + time + ", type="
				+ type + ", status=" + status +"yearAndMonth= "+yearAndMonth+"]";
	}	
}
